package com.zjsd.sqeybusiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言回复信息对象 lyhfinfo
 *
 * @author Zheng
 * @date 2021-03-23
 */
public class Lyhfinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long lyhfid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long lyid;

    /** 回复人ID */
    @Excel(name = "回复人ID")
    private Long fromagencyid;

    /** 回复人 */
    @Excel(name = "回复人")
    private String fromname;

    /** 留言目标id */
    @Excel(name = "留言目标id")
    private Long toagencyid;

    /** 留言目标人 */
    @Excel(name = "留言目标人")
    private String toname;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String hfnr;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hfsj;

    private Long shareid ;

    private String hfrbz ;

    public Long getShareid() {
        return shareid;
    }

    public void setShareid(Long shareid) {
        this.shareid = shareid;
    }

    public void setLyhfid(Long lyhfid)
    {
        this.lyhfid = lyhfid;
    }

    public Long getLyhfid()
    {
        return lyhfid;
    }
    public void setLyid(Long lyid)
    {
        this.lyid = lyid;
    }

    public Long getLyid()
    {
        return lyid;
    }
    public void setFromagencyid(Long fromagencyid)
    {
        this.fromagencyid = fromagencyid;
    }

    public Long getFromagencyid()
    {
        return fromagencyid;
    }
    public void setFromname(String fromname)
    {
        this.fromname = fromname;
    }

    public String getFromname()
    {
        return fromname;
    }
    public void setToagencyid(Long toagencyid)
    {
        this.toagencyid = toagencyid;
    }

    public Long getToagencyid()
    {
        return toagencyid;
    }
    public void setToname(String toname)
    {
        this.toname = toname;
    }

    public String getToname()
    {
        return toname;
    }
    public void setHfnr(String hfnr)
    {
        this.hfnr = hfnr;
    }

    public String getHfnr()
    {
        return hfnr;
    }
    public void setHfsj(Date hfsj)
    {
        this.hfsj = hfsj;
    }

    public Date getHfsj()
    {
        return hfsj;
    }

    public String getHfrbz() {
        return hfrbz;
    }

    public void setHfrbz(String hfrbz) {
        this.hfrbz = hfrbz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lyhfid", getLyhfid())
            .append("lyid", getLyid())
            .append("fromagencyid", getFromagencyid())
            .append("fromname", getFromname())
            .append("toagencyid", getToagencyid())
            .append("toname", getToname())
            .append("hfnr", getHfnr())
            .append("hfsj", getHfsj())
                .append("shareid",getShareid())
                .append("hfrbz",getHfrbz())
            .toString();
    }
}
